babl: predefine ACEScg and ACES2065-1 BablSpaces
authorØyvind Kolås <pippin@gimp.org>
Sat, 23 Jun 2018 20:32:20 +0000 (22:32 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sat, 23 Jun 2018 20:33:12 +0000 (22:33 +0200)
babl/babl-space.c

index d601bb283399fb9974a5caf26526a2edaac0deec..6d2415c7f6c6e3a9b643697127d52588fe8008e8 100644 (file)
@@ -495,6 +495,23 @@ computations of uniform gray axis */
      0.1300,  0.0350,
      babl_trc("1.8"), NULL, NULL, 1);
 #endif
+
+  babl_space_from_chromaticities (
+     "ACEScg",
+      0.32168, 0.33767,
+      0.713, 0.293,
+      0.165, 0.830,
+      0.128, 0.044,
+      babl_trc("1.0"), NULL, NULL, 1);
+
+  babl_space_from_chromaticities (
+     "ACES2065-1",
+      0.32168, 0.33767,
+      0.7347, 0.2653,
+      0.0000, 1.0000,
+      0.0001, -0.0770,
+      babl_trc("1.0"), NULL, NULL, 1);
+
 }
 
 void babl_space_to_xyz (const Babl *space, const double *rgb, double *xyz)